<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>添加页面</title>

    <style type="text/css">
        body {
            font: 18px "KaiTi";
            overflow-y: hidden;
        }

        div {
            width: 600px;
            height: 45px
        }

        input, select {
            height: 24px;
            font-weight: bold;
        }

        input:focus {
            border-color: #c00;
        }

        .btn {
            position: relative;
            left: 300px;
        }

        .tips {
            color: rgba(0, 0, 0, 0.5);
            padding-left: 10px;
        }

        .tips_true, .tips_false {
            padding-left: 10px;
        }

        .tips_true {
            color: green;
        }

        .tips_false {
            color: red;
        }

        *:focus {
            outline: none;
        }

        .error {
            color: red;
        }

        input {
            border-radius: 5px;
        }
    </style>
</head>
<body>
<center>
    ${requestScope.msg}
    <h1>添加页面</h1>
    <form id="myForm" action="/UserServlet?way=addUser" enctype="multipart/form-data" method="post">
        <fieldset>
            <%--            <div>--%>
            <%--                <label>* 编号 *：</label> <input type="text" name="id">--%>
            <%--            </div>--%>
            <div>
                <label>* 账号 *：</label> <input type="text" name="username">
            </div>
            <div>
                <label>* 密码 *：</label> <input type="text" name="password">
            </div>
            <div>
                <label>* 姓名 *：</label> <input type="text" name="name">
            </div>
            <div>
                <label>* 地址 *：</label> <input type="text" name="address">
            </div>
            <div>
                <label>* 生日 *：</label> <input type="text" name="birthday">
            </div>
            <div>
                <input type="submit" value="确定"/> &nbsp; <input type="reset" value="清空"/>
                <a href="/UserServlet?way=findAll">返回</a>
            </div>
        </fieldset>
    </form>
</center>
</body>
</html>